package com.zt.ztyh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zt.ztyh.entity.ZtyhLevel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 王利明
 */
@FeignClient(name = "ztyh-level",path = "/ztyh/level",contextId = "level")
public interface FeginLevelService  {
    @GetMapping("/getLevel/{level}")
    public ZtyhLevel getLevel(@PathVariable(value="level") Integer level);
}
